package idv.loveloser.dao;

/**
 * AbstractMdlQuizAttempts entity provides the base persistence definition of
 * the MdlQuizAttempts entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlQuizAttempts implements java.io.Serializable {

	// Fields

	private Long id;
	private Long uniqueid;
	private Long quiz;
	private Long userid;
	private Integer attempt;
	private Double sumgrades;
	private Long timestart;
	private Long timefinish;
	private Long timemodified;
	private String layout;
	private Short preview;
	private Short needsupgradetonewqe;

	// Constructors

	/** default constructor */
	public AbstractMdlQuizAttempts() {
	}

	/** minimal constructor */
	public AbstractMdlQuizAttempts(Long uniqueid, Long quiz, Long userid,
			Integer attempt, Long timestart, Long timefinish,
			Long timemodified, String layout, Short preview,
			Short needsupgradetonewqe) {
		this.uniqueid = uniqueid;
		this.quiz = quiz;
		this.userid = userid;
		this.attempt = attempt;
		this.timestart = timestart;
		this.timefinish = timefinish;
		this.timemodified = timemodified;
		this.layout = layout;
		this.preview = preview;
		this.needsupgradetonewqe = needsupgradetonewqe;
	}

	/** full constructor */
	public AbstractMdlQuizAttempts(Long uniqueid, Long quiz, Long userid,
			Integer attempt, Double sumgrades, Long timestart, Long timefinish,
			Long timemodified, String layout, Short preview,
			Short needsupgradetonewqe) {
		this.uniqueid = uniqueid;
		this.quiz = quiz;
		this.userid = userid;
		this.attempt = attempt;
		this.sumgrades = sumgrades;
		this.timestart = timestart;
		this.timefinish = timefinish;
		this.timemodified = timemodified;
		this.layout = layout;
		this.preview = preview;
		this.needsupgradetonewqe = needsupgradetonewqe;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUniqueid() {
		return this.uniqueid;
	}

	public void setUniqueid(Long uniqueid) {
		this.uniqueid = uniqueid;
	}

	public Long getQuiz() {
		return this.quiz;
	}

	public void setQuiz(Long quiz) {
		this.quiz = quiz;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Integer getAttempt() {
		return this.attempt;
	}

	public void setAttempt(Integer attempt) {
		this.attempt = attempt;
	}

	public Double getSumgrades() {
		return this.sumgrades;
	}

	public void setSumgrades(Double sumgrades) {
		this.sumgrades = sumgrades;
	}

	public Long getTimestart() {
		return this.timestart;
	}

	public void setTimestart(Long timestart) {
		this.timestart = timestart;
	}

	public Long getTimefinish() {
		return this.timefinish;
	}

	public void setTimefinish(Long timefinish) {
		this.timefinish = timefinish;
	}

	public Long getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(Long timemodified) {
		this.timemodified = timemodified;
	}

	public String getLayout() {
		return this.layout;
	}

	public void setLayout(String layout) {
		this.layout = layout;
	}

	public Short getPreview() {
		return this.preview;
	}

	public void setPreview(Short preview) {
		this.preview = preview;
	}

	public Short getNeedsupgradetonewqe() {
		return this.needsupgradetonewqe;
	}

	public void setNeedsupgradetonewqe(Short needsupgradetonewqe) {
		this.needsupgradetonewqe = needsupgradetonewqe;
	}

}